package cn.oscar.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import commonUtils.dto.UserDTO;
import commonUtils.entities.Restful;
import commonUtils.entities.User;

public interface UserService extends IService<User> {


    Restful<Page<UserDTO>> selectByPage(int page, int pageSize, String name);

    Restful<String> deleteUser(Long[] ids);

    Restful<String> updateByUser(User user);

    Restful<String> saveUser(User user);

    Restful<User> selectById(Long id);

    Restful<String> changeStatus21(Long[] ids);

    Restful<String> changeStatus20(Long[] ids);
}
